home *** CD-ROM | disk | FTP | other *** search
/ SuperHack / SuperHack CD.bin / SCRIPTZ / IOPSCAN.ZIP / iopscan.txt
Text File  |  1997-02-19  |  1KB  |  26 lines

  1. Put This in Your Aliases:
  2.  
  3. ircopscan {
  4.   if ($1 == $null) { echo 4 -s Error, type: /ircopscan [-e|-c] | halt }
  5.   if (# == $null) { set %window -s } | else { set %window # } | set %total 0 | write -c $mircdir $+ raw.txt
  6.   if ($1 == -e) { echo 6 This will scan the entire network and tell you the current visable IRCops online. | set %total 0 | set %option 1 | write $mircdir $+ raw.txt /echo 4 %window :ì: Listing IRCops! :ì: | .enable #ircopscan | who
  7. 0 o }
  8.   if ($1 == -c) {
  9.     if (# == $null) { echo 4 -s Error, try using this is the channel window. | halt }
  10.     msg # Master 3.1 is now listing visable IRCops on all networks.
  11.     set %total 0 | set %option 2 | write $mircdir $+ raw.txt /msg # :ì: Listing IRCops! :ì: | .enable #ircopscan | who 0 o
  12.   }
  13. }
  14.  
  15. Put This in Your Raw section:
  16.  
  17. 352:* {
  18.   if (%option == 1) { write $mircdir $+ raw.txt /echo 2 %window $parm6 * $+ $parm5 | inc %total | halt }
  19.   if (%option == 2) { write $mircdir $+ raw.txt /msg %window $parm6 * $+ $parm5 | inc %total | halt }
  20. }
  21. 315:* {
  22.   if (%option == 1) { write $mircdir $+ raw.txt /echo 4 %window :ì: End of List! Total: %total :ì: }
  23.   if (%option == 2) { write $mircdir $+ raw.txt /msg %window :ì: End of List! Total: %total :ì: }
  24.   play -c $me $mircdir $+ raw.txt 600 | unset %total | unset %option | unset %window | .disable #ircopscan | halt
  25. }
  26. #ircopscan end